home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
PInterfaces
/
Retrace.p
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
113 lines
{
File: Retrace.p
Contains: Vertical Retrace Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
}
{$IFC UNDEFINED UsingIncludes}
{$SETC UsingIncludes := 0}
{$ENDC}
{$IFC NOT UsingIncludes}
UNIT Retrace;
INTERFACE
{$ENDC}
{$IFC UNDEFINED __RETRACE__}
{$SETC __RETRACE__ := 1}
{$I+}
{$SETC RetraceIncludes := UsingIncludes}
{$SETC UsingIncludes := 1}
{$IFC UNDEFINED __TYPES__}
{$I Types.p}
{$ENDC}
{$IFC UNDEFINED __OSUTILS__}
{$I OSUtils.p}
{$ENDC}
{$PUSH}
{$ALIGN MAC68K}
{$LibExport+}
{$IFC FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED }
TYPE
VBLTaskPtr = ^VBLTask;
VBLProcPtr = Register68kProcPtr; { PROCEDURE VBL(vblTaskPtr: VBLTaskPtr); }
VBLUPP = UniversalProcPtr;
VBLTask = RECORD
qLink: QElemPtr;
qType: INTEGER;
vblAddr: VBLUPP;
vblCount: INTEGER;
vblPhase: INTEGER;
END;
CONST
uppVBLProcInfo = $00009802;
FUNCTION NewVBLProc(userRoutine: VBLProcPtr): VBLUPP;
{$IFC NOT GENERATINGCFM }
INLINE $2E9F;
{$ENDC}
PROCEDURE CallVBLProc(vblTaskPtr: VBLTaskPtr; userRoutine: VBLUPP);
{$IFC NOT GENERATINGCFM}
{To be implemented: Glue to move parameters into registers.}
{$ENDC}
FUNCTION GetVBLQHdr: QHdrPtr;
{$IFC NOT GENERATINGCFM}
INLINE $2EBC, $0000, $0160;
{$ENDC}
FUNCTION SlotVInstall(vblBlockPtr: QElemPtr; theSlot: INTEGER): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $301F, $205F, $A06F, $3E80;
{$ENDC}
FUNCTION SlotVRemove(vblBlockPtr: QElemPtr; theSlot: INTEGER): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $301F, $205F, $A070, $3E80;
{$ENDC}
FUNCTION AttachVBL(theSlot: INTEGER): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $301F, $A071, $3E80;
{$ENDC}
FUNCTION DoVBLTask(theSlot: INTEGER): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $301F, $A072, $3E80;
{$ENDC}
FUNCTION VInstall(vblTaskPtr: QElemPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A033, $3E80;
{$ENDC}
FUNCTION VRemove(vblTaskPtr: QElemPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A034, $3E80;
{$ENDC}
{ Custom Glue for 68k. }
{$ENDC}
{$ALIGN RESET}
{$POP}
{$SETC UsingIncludes := RetraceIncludes}
{$ENDC} {__RETRACE__}
{$IFC NOT UsingIncludes}
END.
{$ENDC}